package entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 橙子
 * @since 2023-02-27
 */
@Getter
@Setter
@TableName("dlr_address")
@ApiModel(value = "Address对象", description = "")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键（自增）")
      @TableId(value = "dlr_id", type = IdType.AUTO)
    private Integer dlrId;

    @ApiModelProperty("姓名")
    @TableField("dlr_name")
    private String dlrName;

    @ApiModelProperty("手机")
    @TableField("dlr_phone")
    private String dlrPhone;


    @ApiModelProperty("详细地址")
    @TableField("dlr_fullAddress")
    private String dlrFullAddress;


    @ApiModelProperty("邮政编码")
    @TableField("dlr_zipCode")
    private String dlrZipcode;


    @ApiModelProperty("0：默认  1：不默认")
    @TableField("dlr_default")
    private String dlrDefault;


}
